<style scoped src="./index.scss" lang="scss" rel="stylesheet/scss"></style>
<template src="./index.html"></template>
<script>
import listBox from "../list/home/index.vue";
import setBox from "../set/index.vue";

export default {
  mixins: [Vue.prototype.$vFN.Mixins.Base],
  components: {
    listBox,
    setBox,
  },
  data() {
    return {
      activeName: "",
    };
  },
  methods: {
    tabClick() {
      this.$router.push(
        this.$vFN.Tools.toUrl({
          path: "./pickUp",
          query: {
            type: this.activeName,
          },
        })
      );
    },
    init() {
      if (this.$route.query.type) {
        this.activeName = this.$route.query.type;
      } else {
        this.activeName = "list";
      }
    },
  },
  mounted() {
    this.init();
    this.$nextTick(function () {});
  },
  activated() {},
};
</script>